package cn.line5.seam.filter;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * <h1>过滤器对象</h1>
 * 
 * @author Liu,Xiaojun
 * @since JDK1.6
 */
public class FilterServletContext {
	
	private String componentName;
	
	private String methodName;
	
	private HttpServletRequest request;
	
	private HttpServletResponse response;
	
	private Integer requestType;
	
	public static Integer REQUEST_TYPE_PAGE = 0;
	
	public static Integer REQUEST_TYPE_AJAX = 1;

	public String getComponentName() {
		return componentName;
	}

	public void setComponentName(String componentName) {
		this.componentName = componentName;
	}

	public String getMethodName() {
		return methodName;
	}

	public void setMethodName(String methodName) {
		this.methodName = methodName;
	}

	public HttpServletRequest getRequest() {
		return request;
	}

	public void setRequest(HttpServletRequest request) {
		this.request = request;
	}

	public HttpServletResponse getResponse() {
		return response;
	}

	public void setResponse(HttpServletResponse response) {
		this.response = response;
	}

	public Integer getRequestType() {
		return requestType;
	}

	public void setRequestType(Integer requestType) {
		this.requestType = requestType;
	}
	
}